CREATE TABLE [dbo].[tb_InicioSGITemp]
(
[idinciosgi] [int] NOT NULL IDENTITY(1, 1),
[Organizacion] [int] NULL,
[Cuise] [int] NOT NULL,
[Fecha] [datetime] NOT NULL,
[FechaControles] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_InicioSGITemp] ADD CONSTRAINT [PK_tb_InicioSGITemp] PRIMARY KEY CLUSTERED  ([idinciosgi]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ndxCuiseFecha] ON [dbo].[tb_InicioSGITemp] ([Cuise], [Fecha]) ON [PRIMARY]
GO
